package com.chenfan.mcn.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.chenfan.mcn.model.base.BaseOwnerEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 重点客户目标
 * </p>
 *
 * @author lizhejin
 * @since 2021-04-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("customer_target")
public class CustomerTarget extends BaseOwnerEntity {

    private static final long serialVersionUID = 3964659972809239032L;

    /**
     * 季度编号
     */
    private String quarterCode;

    /**
     * 季度销售额
     */
    private BigDecimal quarterSales;

    /**
     * 目标金额
     */
    private BigDecimal targetAmount;

    /**
     * 目标达成率
     */
    private BigDecimal targetReachRate;

    /**
     * 绑定目标客户id
     */
    private Long targetCustomerId;

    /**
     * 目标客户负责人id
     */
    private Long targetCustomerHeadId;
}
